import request from "@/utils/request";
//定义枚举类统一管理接口
enum API {
  CHAT_MESSAGE = "/guidance/stream/chatMessages",
}
export const getChatMessage = (
  content: string,
  conversationId: string = "",
  gender: string = "男",
  age: number = 1
) =>
  request.get<any, any>(
    `${API.CHAT_MESSAGE}?content=${content}&conversationId=${conversationId}&gender=${gender}&age=${age}`
  );
